package com.wnxy.pawnbackgroundsystem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wnxy.pawnbackgroundsystem.dto.PageDto;
import com.wnxy.pawnbackgroundsystem.entity.Goods;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wnxy.pawnbackgroundsystem.param.goodsParam.GoodsParam;

import java.util.List;

/**
 * <p>
 * 商品详情表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2021-10-14
 */
public interface IGoodsService extends IService<Goods> {

    IPage findAllGoodsByPage(GoodsParam goodsParam, PageDto pageDto);

    Goods addGoods(GoodsParam goodsParam);

    Integer updateGoods(GoodsParam goodsParam);

    Integer deleteGood(Integer ids);
}
